package a.f.f;

import a.c.e;
import a.c.*;
import a.f.o;
import a.f.wb;
import a.f.xc;
import a.i.db;

import java.util.HashMap;

public class h
  implements f
{
  private n a;
  private x b;
  private HashMap c;
  private HashMap d;
  private HashMap e;
  private HashMap f;
  private HashMap g;
  private HashMap h;
  private o i;
  private HashMap j;
  private a k;
  public static boolean l;
  
  h(o paramo, a parama)
  {
    this.k = parama;
    this.j = new HashMap();
    this.b = db.a();
    this.c = new HashMap();
    this.e = new HashMap();
    this.f = new HashMap();
    this.g = new HashMap();
    a.f.c.h localh = new a.f.c.h(paramo);
    a.c.k localk1 = paramo.c(a.h);
    a.c.k localk2 = paramo.c(a.k);
    a.c.k localk3 = paramo.c(a.g);
    Object localObject1 = paramo.v();
    Object localObject4;
    Object localObject5;
    label317:
    label319:
    do
    {
      if (!((w)localObject1).e()) {
        break;
      }
      localObject2 = ((w)localObject1).d();
      localObject3 = localk1.get(localObject2);
      this.e.put(localObject3, localObject2);
      if (bool1) {
        break label362;
      }
      localObject4 = localk3 == null ? null : localk3.get(localObject2);
      a((e)localObject2, new a.i_((e)localObject2, localObject3, localh.e((e)localObject2), localObject4, this));
      localObject5 = paramo.f(localObject2);
      int m = 0;
      while (m < localObject5.length)
      {
        a(localObject5[m], new a.e_(localObject5[m], localk2.get(localObject5[m])));
        m++;
        if (bool2) {
          break label319;
        }
        if (bool1) {
          break label317;
        }
        if (bool1)
        {
          if (bool2) {
            break label319;
          }
          if (!bool2) {}
          a.c.q.n = !a.c.q.n;
        }
      }
      ((w)localObject1).f();
    } while (!bool1);
    localh.e();
    this.a = db.b();
    this.d = new HashMap();
    this.h = new HashMap();
    label362:
    localObject1 = paramo.c(a.i);
    Object localObject2 = paramo.c(a.j);
    Object localObject3 = paramo.w();
    label529:
    label531:
    do
    {
      do
      {
        if (!((m)localObject3).e()) {
          break label534;
        }
        localObject4 = ((m)localObject3).a();
        localObject5 = ((a.c.k)localObject2).get(localObject4);
        this.h.put(localObject5, localObject4);
        a((a.c.d)localObject4, new a.g_((a.c.d)localObject4, ((a.c.k)localObject1).get(localObject4), (byte)0, this));
        wb[] arrayOfwb = paramo.g(localObject4);
        int n = 0;
        do
        {
          if (n >= arrayOfwb.length) {
            break;
          }
          a(arrayOfwb[n], new a.f_(arrayOfwb[n], ((a.c.k)localObject2).get(arrayOfwb[n])));
          n++;
          if (bool2) {
            break label531;
          }
          if (bool1) {
            break label529;
          }
        } while (!bool1);
      } while (bool2);
      ((m)localObject3).f();
    } while (!bool1);
    label534:
    if (bool2) {
      a.c.q.o = !a.c.q.o;
    }
  }
  
  public a.c.d a(e parame1, e parame2, Object paramObject)
  {
    a.c.d locald = a().a(parame1, parame2);
    if (paramObject != null) {
      a(locald, paramObject);
    }
    return locald;
  }
  
  public e a(Object paramObject)
  {
    e locale = a().i();
    if (paramObject != null) {
      a(locale, paramObject);
    }
    return locale;
  }
  
  public void a(xc paramxc, e parame)
  {
    if ((a.R) || ((parame.g() instanceof a.f.q)))
    {
      xc[] arrayOfxc1 = ((a.f.q)parame.g()).l(parame);
      xc[] arrayOfxc2 = new xc[arrayOfxc1.length + 1];
      System.arraycopy(arrayOfxc1, 0, arrayOfxc2, 0, arrayOfxc1.length);
      arrayOfxc2[arrayOfxc1.length] = paramxc;
      ((a.f.q)parame.g()).a(parame, arrayOfxc2);
    }
  }
  
  public void a(wb paramwb, a.c.d paramd)
  {
    if ((a.R) || ((paramd.c() instanceof a.f.q)))
    {
      wb[] arrayOfwb1 = ((a.f.q)paramd.c()).k(paramd);
      wb[] arrayOfwb2 = new wb[arrayOfwb1.length + 1];
      System.arraycopy(arrayOfwb1, 0, arrayOfwb2, 0, arrayOfwb1.length);
      arrayOfwb2[arrayOfwb1.length] = paramwb;
      ((a.f.q)paramd.c()).a(paramd, arrayOfwb2);
    }
  }
  
  public boolean b(xc paramxc, e parame)
  {
    boolean bool3 = a.R;
    boolean bool2 = a.Q;
    boolean bool1 = false;
    if (!bool3) {
      if ((parame.g() instanceof a.f.q))
      {
        xc[] arrayOfxc1 = ((a.f.q)parame.g()).l(parame);
        z localz = new z();
        int m = 0;
        if (m < arrayOfxc1.length)
        {
          if (bool3) {
            break label116;
          }
          if (bool2) {
            break label113;
          }
          if (arrayOfxc1[m].equals(paramxc)) {}
        }
        while (bool3)
        {
          localz.add(arrayOfxc1[m]);
          bool1 = true;
          m++;
          if (!bool2) {
            break;
          }
        }
        label113:
        label116:
        xc[] arrayOfxc2 = new xc[localz.size()];
        int n = 0;
        y localy = localz.h();
        if (localy.e())
        {
          arrayOfxc2[n] = ((xc)localy.j());
          localy.f();
          n++;
        }
        for (;;)
        {
          if (!bool3) {
            if (!bool2)
            {
              if (!bool2) {
                break;
              }
              if (bool3) {
                continue;
              }
              ((a.f.q)parame.g()).a(parame, arrayOfxc2);
            }
          }
        }
      }
    }
    return bool1;
  }
  
  public boolean b(wb paramwb, a.c.d paramd)
  {
    boolean bool3 = a.R;
    boolean bool2 = a.Q;
    boolean bool1 = false;
    if (!bool3) {
      if ((paramd.c() instanceof a.f.q))
      {
        wb[] arrayOfwb1 = ((a.f.q)paramd.c()).k(paramd);
        z localz = new z();
        int m = 0;
        if (m < arrayOfwb1.length)
        {
          if (bool3) {
            break label116;
          }
          if (bool2) {
            break label113;
          }
          if (arrayOfwb1[m].equals(paramwb)) {}
        }
        while (bool3)
        {
          localz.add(arrayOfwb1[m]);
          bool1 = true;
          m++;
          if (!bool2) {
            break;
          }
        }
        label113:
        label116:
        wb[] arrayOfwb2 = new wb[localz.size()];
        int n = 0;
        y localy = localz.h();
        if (localy.e())
        {
          arrayOfwb2[n] = ((wb)localy.j());
          localy.f();
          n++;
        }
        for (;;)
        {
          if (!bool3) {
            if (!bool2)
            {
              if (!bool2) {
                break;
              }
              if (bool3) {
                continue;
              }
              ((a.f.q)paramd.c()).a(paramd, arrayOfwb2);
            }
          }
        }
      }
    }
    return bool1;
  }
  
  void a(e parame, Object paramObject)
  {
    boolean bool = a.R;
    this.j.put(parame, paramObject);
    if (!bool)
    {
      if (f(paramObject) != null) {
        return;
      }
      if (bool) {}
    }
    else if (c(paramObject) != null)
    {
      if (bool) {
        break label64;
      }
      a(parame, c(paramObject));
      if (!a.Q) {
        return;
      }
    }
    label64:
    e locale = d(paramObject);
    a.a(locale, parame);
  }
  
  void a(a.c.d paramd, Object paramObject)
  {
    boolean bool = a.R;
    this.j.put(paramd, paramObject);
    if (!bool)
    {
      if (g(paramObject) != null) {
        return;
      }
      if (bool) {}
    }
    else if (c(paramObject) != null)
    {
      if (bool) {
        break label64;
      }
      a(paramd, c(paramObject));
      if (!a.Q) {
        return;
      }
    }
    label64:
    a.c.d locald = e(paramObject);
    a.a(locald, paramd);
  }
  
  Object c(Object paramObject)
  {
    return this.j.get(paramObject);
  }
  
  public o a()
  {
    return this.i;
  }
  
  public a b()
  {
    return this.k;
  }
  
  void a(o paramo)
  {
    this.i = paramo;
  }
  
  void c(e parame, Object paramObject)
  {
    this.f.put(paramObject, parame);
  }
  
  void c(a.c.d paramd, Object paramObject)
  {
    this.g.put(paramObject, paramd);
  }
  
  public e d(Object paramObject)
  {
    return (e)this.f.get(paramObject);
  }
  
  public a.c.d e(Object paramObject)
  {
    return (a.c.d)this.g.get(paramObject);
  }
  
  Object c(e parame)
  {
    if (parame == null) {
      return null;
    }
    j localj = a(parame);
    return localj.d();
  }
  
  public e f(Object paramObject)
  {
    if (!a.R) {
      if (paramObject == null) {
        return null;
      }
    }
    return (e)this.e.get(paramObject);
  }
  
  public a.c.d g(Object paramObject)
  {
    if (!a.R) {
      if (paramObject == null) {
        return null;
      }
    }
    return (a.c.d)this.h.get(paramObject);
  }
  
  public d a(wb paramwb)
  {
    if ((a.R) || (this.d != null)) {
      return (d)this.d.get(paramwb);
    }
    return null;
  }
  
  public k a(xc paramxc)
  {
    if ((a.R) || (this.c != null)) {
      return (k)this.c.get(paramxc);
    }
    return null;
  }
  
  void a(xc paramxc, k paramk)
  {
    if ((a.R) || (this.c != null)) {
      this.c.put(paramxc, paramk);
    }
  }
  
  void a(wb paramwb, d paramd)
  {
    if ((a.R) || (this.d != null)) {
      this.d.put(paramwb, paramd);
    }
  }
  
  void a(a.c.d paramd, c paramc)
  {
    if ((a.R) || (this.a != null)) {
      this.a.a(paramd, paramc);
    }
  }
  
  void a(e parame, j paramj)
  {
    if ((a.R) || (this.b != null)) {
      this.b.a(parame, paramj);
    }
  }
  
  public j a(e parame)
  {
    if ((a.R) || (this.b != null)) {
      return (j)this.b.get(parame);
    }
    return null;
  }
  
  public c a(a.c.d paramd)
  {
    if ((a.R) || (this.a != null)) {
      return (c)this.a.get(paramd);
    }
    return null;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.f.h

 * JD-Core Version:    0.7.0.1

 */